package com.desiy.service;

import com.desiy.pojo.entity.Books;

import java.util.Collection;
import java.util.List;

public interface BooksService {
    Books queryById(Integer id);
    Collection<Books> queryAll();
    int insert(Books books);
    Books update(Books books);
    boolean deleteById(Integer id);
    Books queryByName(String name);
}